home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7845 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.microsoft.com!news
  2. From: a-cnadc@microsoft.com (Dann Corbit)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP - gotoxy() in MS C++ or OS/2 C++
  5. Date: 19 Feb 1996 19:53:10 GMT
  6. Organization: Microsoft Corporation
  7. Message-ID: <4gakf6$7pk@news.microsoft.com>
  8. References: <4fu4c3$ll4@ccnet2.ccnet.com>
  9. NNTP-Posting-Host: 157.57.171.202
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. In article <4fu4c3$ll4@ccnet2.ccnet.com>, allan@ccnet.com says...
  14. >
  15. >Could someone please help me.  I'm taking a C++ course that requires
  16. >using the Turbo C++ GOTOXY function to write text.  I have the Microsoft
  17. >C++ and OS/2 C++ compilers and don't see any similar function unless I
  18. >write to the Windows or Presentation Managers API.  The GOTOXY allows you
  19. >to move the cursor to a new location.
  20. >
  21. >Therefore, is there any way I can move the cursor to a curtain location
  22. >and use PUTCH/GETCH without having to write to the Windows API or 
  23. >Presentation Managers API (ie. console application environment in MS C++ 
  24. >and non-PM application environment in OS/2 C++)?  Any easy way to do 
  25. >this?
  26. >
  27. >Any information would be greatly appreciated!
  28. >
  29. >
  30. >Thank you very much!!! 
  31. >
  32. >Allan W. Rose
  33. >allan@ccnet.com
  34. >
  35. >
  36. I don't know what OS/2 compiler you are using, so I can't help you there.
  37. MS C++ will either have _settextposition() if it is one of the older
  38. versions of the compiler, or OpenGL functions if it is one of the newer
  39. versions.  See your compiler documentation.
  40. -- 
  41. The opinions expressed in this message are my own personal views 
  42. and do not reflect the official views of Microsoft Corporation.
  43.  
  44.